#! /bin/bash


step=1 #间隔的秒数，不能大于60

for (( i = 0; i < 100; i=(i++) )); do
    php /usr/local/nginx/www/swoole/index.php
    php /usr/local/nginx/www/swoole/update_order.php

    sleep $step
done





for (( i = 0; i < 60; i=(i+step) )); do
    cd /usr/local/nginx/www/swoole/  && git pull
    sleep $step
done





exit 0
